package com.jiangruan.javaproject.bean;

import java.util.List;

/**
 * @author:huayuzhuo
 * @email:2798866329@qq.com
 * @desc:该类实现javagetblockchaininfo功能的副json类
 * @datatime: 2021/12/19 14:44
 */
public class GetBlockChaininfoEntityR {
    public String chain;
    public int blocks;
    public int headers;
    public String bestblockhash;
    public int difficnlty;
    public int mediantime;
    public int verificationprogress;
    public boolean initialblockdownload;
    public String chainwork;
    public int size_on_disk;
    public boolean pruned;
    public int pruneheight;
    public boolean automatic_pruning;
    public int prune_target_size;
    public List softforks;
    public String warnings;             //警告信息

    public String getChain() {
        return chain;
    }

    public void setChain(String chain) {
        this.chain = chain;
    }

    public int getBlocks() {
        return blocks;
    }

    public void setBlocks(int blocks) {
        this.blocks = blocks;
    }

    public int getHeaders() {
        return headers;
    }

    public void setHeaders(int headers) {
        this.headers = headers;
    }

    public String getBestblockhash() {
        return bestblockhash;
    }

    public void setBestblockhash(String bestblockhash) {
        this.bestblockhash = bestblockhash;
    }

    public int getDifficnlty() {
        return difficnlty;
    }

    public void setDifficnlty(int difficnlty) {
        this.difficnlty = difficnlty;
    }

    public int getMediantime() {
        return mediantime;
    }

    public void setMediantime(int mediantime) {
        this.mediantime = mediantime;
    }

    public int getVerificationprogress() {
        return verificationprogress;
    }

    public void setVerificationprogress(int verificationprogress) {
        this.verificationprogress = verificationprogress;
    }

    public boolean isInitialblockdownload() {
        return initialblockdownload;
    }

    public void setInitialblockdownload(boolean initialblockdownload) {
        this.initialblockdownload = initialblockdownload;
    }

    public String getChainwork() {
        return chainwork;
    }

    public void setChainwork(String chainwork) {
        this.chainwork = chainwork;
    }

    public int getSize_on_disk() {
        return size_on_disk;
    }

    public void setSize_on_disk(int size_on_disk) {
        this.size_on_disk = size_on_disk;
    }

    public boolean isPruned() {
        return pruned;
    }

    public void setPruned(boolean pruned) {
        this.pruned = pruned;
    }

    public int getPruneheight() {
        return pruneheight;
    }

    public void setPruneheight(int pruneheight) {
        this.pruneheight = pruneheight;
    }

    public boolean isAutomatic_pruning() {
        return automatic_pruning;
    }

    public void setAutomatic_pruning(boolean automatic_pruning) {
        this.automatic_pruning = automatic_pruning;
    }

    public int getPrune_target_size() {
        return prune_target_size;
    }

    public void setPrune_target_size(int prune_target_size) {
        this.prune_target_size = prune_target_size;
    }

    public List getSoftforks() {
        return softforks;
    }

    public void setSoftforks(List softforks) {
        this.softforks = softforks;
    }

    public String getWarnings() {
        return warnings;
    }

    public void setWarnings(String warnings) {
        this.warnings = warnings;
    }
}
